package com.sea.demo.shiro.service;

import java.util.List;

/**
 * @Author: 快乐在角落里
 * @Create: 2020/11/8 2:14
 */
public interface BaseService<T> {

    int insert(T record);

    int delete(Integer id);

    int update(T record);

    List<T> select(T record);

    List<T> select(T record, Integer currentPage, Integer pageSize);

    List<T> select(T record, Integer currentPage, Integer pageSize,String orderBy);

    T selectOne(Integer id);
}
